package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class ClasseWork extends BasePojo {
    // 班次开工ID
    private Integer classeWorkId;
    // 班次ID
    private Integer classeId;
    // 班次日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String classeDate;
    // 登入人ID
    private Integer loginUserId;
    // 登出人ID
    private Integer logoutUserId;
    // 登入时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginDate;
    // 登出时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date logoutDate;
    // 班次状态( 1 登入  2登出)
    private Integer loginState;
    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    // 修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    // 备注
    private String remark;
    // 数据状态
    private Integer dataState;


    /**
     * 翻译字段
     */
    // 登入人名称
    private String loginUserName;
    // 登出人名称
    private String logoutUserName;
    // 班次名称
    private String classeName;
    // 产线名称
    private String productlineName;
    // 产线ID
    private Integer productlineId;
    // 车间名称
    private String workshopName;

    /**
     * 高级查询字段
     */
    // 班次时间
    private String classeStart;
    // 班次时间
    private String classeEnd;
    // 登入时间
    private String loginStart;
    // 登入时间
    private String loginEnd;
    // 登出时间
    private String logoutStart;
    // 登出时间
    private String logoutEnd;


    public Integer getProductlineId() {
        return productlineId;
    }

    public void setProductlineId(Integer productlineId) {
        this.productlineId = productlineId;
    }

    public String getClasseStart() {
        return classeStart;
    }

    public void setClasseStart(String classeStart) {
        this.classeStart = classeStart;
    }

    public String getClasseEnd() {
        return classeEnd;
    }

    public void setClasseEnd(String classeEnd) {
        this.classeEnd = classeEnd;
    }

    public String getLoginStart() {
        return loginStart;
    }

    public void setLoginStart(String loginStart) {
        this.loginStart = loginStart;
    }

    public String getLoginEnd() {
        return loginEnd;
    }

    public void setLoginEnd(String loginEnd) {
        this.loginEnd = loginEnd;
    }

    public String getLogoutStart() {
        return logoutStart;
    }

    public void setLogoutStart(String logoutStart) {
        this.logoutStart = logoutStart;
    }

    public String getLogoutEnd() {
        return logoutEnd;
    }

    public void setLogoutEnd(String logoutEnd) {
        this.logoutEnd = logoutEnd;
    }

    public String getLoginUserName() {
        return loginUserName;
    }

    public void setLoginUserName(String loginUserName) {
        this.loginUserName = loginUserName;
    }

    public String getLogoutUserName() {
        return logoutUserName;
    }

    public void setLogoutUserName(String logoutUserName) {
        this.logoutUserName = logoutUserName;
    }

    public String getClasseName() {
        return classeName;
    }

    public void setClasseName(String classeName) {
        this.classeName = classeName;
    }

    public String getProductlineName() {
        return productlineName;
    }

    public void setProductlineName(String productlineName) {
        this.productlineName = productlineName;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public Integer getClasseWorkId() {
        return classeWorkId;
    }

    public void setClasseWorkId(Integer classeWorkId) {
        this.classeWorkId = classeWorkId;
    }

    public Integer getClasseId() {
        return classeId;
    }

    public void setClasseId(Integer classeId) {
        this.classeId = classeId;
    }

    public String getClasseDate() {
        return classeDate;
    }

    public void setClasseDate(String classeDate) {
        this.classeDate = classeDate;
    }

    public Integer getLoginUserId() {
        return loginUserId;
    }

    public void setLoginUserId(Integer loginUserId) {
        this.loginUserId = loginUserId;
    }

    public Integer getLogoutUserId() {
        return logoutUserId;
    }

    public void setLogoutUserId(Integer logoutUserId) {
        this.logoutUserId = logoutUserId;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public Date getLogoutDate() {
        return logoutDate;
    }

    public void setLogoutDate(Date logoutDate) {
        this.logoutDate = logoutDate;
    }

    public Integer getLoginState() {
        return loginState;
    }

    public void setLoginState(Integer loginState) {
        this.loginState = loginState;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }
}